package com.dao;

import com.entity.Address;
import com.entity.Role;
import com.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleDao {
    public List<Role> finRole();

    public Role roleId(int id);

    public int updateRole(Role role);

    public int insertRole(Role role);

    public List<Role> listRole(@Param("code") String code, @Param("roleName") String roleName);
}
